#include "omoperation_setscalefactor.h"
#include <QAction>
#include "../omoperationcontext.h"
#include "mainwindow.h"
#include <QMenu>
#include <QToolBar>

OMOperation_SetScaleFactor::OMOperation_SetScaleFactor()
{

}

void OMOperation_SetScaleFactor::initialize(void)
{
    QAction* setScaleFactorAction = new QAction(tr("Set Scale Factor"), this);
    setScaleFactorAction->setIcon(QIcon(":/resources/icons/loadfile.png"));
    setScaleFactorAction->setStatusTip(tr("Load a security code file"));
    connect(setScaleFactorAction, SIGNAL(triggered()), this, SLOT(exec()));

    // OMOperationContext()->mainWindow();
    mOperationContext->mainWindow()->operationsMenu()->addAction(setScaleFactorAction);
    mOperationContext->mainWindow()->operationsToolBar()->addAction(setScaleFactorAction);
}

void OMOperation_SetScaleFactor::exec(void)
{

}
